<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>手机短信服务管理</title>
		<link rel="stylesheet" type="text/css" href="css/dxfwsz1.css"/>
	</head>
	<body>
		<div class="main_content">
			<div class="con_left">
				<div class="l-box in">
					<a href="dxfwsz.html">手机短信服务管理</a>
				</div>
				<div class="l-box">
					<a href="dxfwsz2.html">已发短信记录</a>
				</div>
			</div>
			<div class="con_right bottom fl">
				<form action="" method="post">
					<header>手机短信服务设置</header>
					<div class="info-con">
						<p>名称：</p><input type="text" name="" id="input1" value=""><span style="color: red;display: none;">*</span>
					</div>
					<div class="info-con">
						<p>剩余短信数量：</p><input type="text" name="" id="input2" value=""><span style="color: red;display: none;">*</span>
					</div>
				</form>
			</div>
		</div>
		<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/index.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/distpicker.data.js"></script>
		<script src="js/distpicker.js"></script>
		<script src="js/main.js"></script>
		<script type="text/javascript">
			$(':submit').on('click',function(){
				$('#input1').nextAll().eq(0).css('display','none');
				$('#input2').nextAll().eq(0).css('display','none');
				$('#input3').nextAll().eq(0).css('display','none');
				var input1=$.trim($('#input1').val());
				var input2=$.trim($('#input2').val());
				var input3=$.trim($('#input3').val());
				if(!input1){
					$('#input1').nextAll().eq(0).css('display','inline-block');
					return false;
				}else if(!input2){
					$('#input2').nextAll().eq(0).css('display','inline-block');
					return false;
				}else if(!input3){
					$('#input3').nextAll().eq(0).css('display','inline-block');
					return false;
				}else{
					return true;
				}
			})
		</script>
	</body>
</html>